home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / xcmd / prntrprt.sit / PrintReport.sit / PrintReport Demo / background_2585.txt < prev    next >
Text File  |  1989-12-18  |  6KB  |  286 lines

  1. -- background: 2585 from stack: in
  2. -- bmap block id: 3174
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Card
  6. ----- HyperTalk script -----
  7. on openBackground
  8.   push recent card
  9. end openBackground
  10.  
  11.  
  12. -- part 2 (field)
  13. -- low flags: 00
  14. -- high flags: 0000
  15. -- rect: left=39 top=48 right=72 bottom=323
  16. -- title width / last selected line: 0
  17. -- icon id / first selected line: 0 / 0
  18. -- text alignment: 0
  19. -- font id: 3
  20. -- text size: 14
  21. -- style flags: 256
  22. -- line height: 18
  23. -- part name: Name
  24.  
  25.  
  26. -- part 15 (button)
  27. -- low flags: 00
  28. -- high flags: 0004
  29. -- rect: left=18 top=240 right=281 bottom=63
  30. -- title width / last selected line: 0
  31. -- icon id / first selected line: 11045 / 11045
  32. -- text alignment: 1
  33. -- font id: 0
  34. -- text size: 12
  35. -- style flags: 0
  36. -- line height: 16
  37. -- part name: Home
  38. ----- HyperTalk script -----
  39. on mouseUp
  40.   visual effect iris open
  41.   go Home
  42. end mouseUp
  43.  
  44.  
  45.  
  46. -- part 28 (field)
  47. -- low flags: 00
  48. -- high flags: 0000
  49. -- rect: left=39 top=73 right=110 bottom=324
  50. -- title width / last selected line: 0
  51. -- icon id / first selected line: 0 / 0
  52. -- text alignment: 0
  53. -- font id: 3
  54. -- text size: 10
  55. -- style flags: 0
  56. -- line height: 13
  57. -- part name: Address
  58.  
  59.  
  60. -- part 17 (button)
  61. -- low flags: 00
  62. -- high flags: 0004
  63. -- rect: left=177 top=240 right=281 bottom=222
  64. -- title width / last selected line: 0
  65. -- icon id / first selected line: 32670 / 32670
  66. -- text alignment: 1
  67. -- font id: 0
  68. -- text size: 12
  69. -- style flags: 0
  70. -- line height: 16
  71. -- part name: 
  72. ----- HyperTalk script -----
  73. on mouseUp
  74.   show all cards
  75. end mouseUp
  76.  
  77.  
  78.  
  79. -- part 18 (button)
  80. -- low flags: 00
  81. -- high flags: 0004
  82. -- rect: left=71 top=240 right=281 bottom=118
  83. -- title width / last selected line: 0
  84. -- icon id / first selected line: 10610 / 10610
  85. -- text alignment: 1
  86. -- font id: 0
  87. -- text size: 12
  88. -- style flags: 0
  89. -- line height: 16
  90. -- part name: dial phone
  91. ----- HyperTalk script -----
  92. on mouseUp
  93.   get the selection
  94.   if it is empty then get the message
  95.   if it is empty then ask "Dial what number?"
  96.   if it is not empty then
  97.     push this card
  98.     visual effect zoom open
  99.     go to stack "Phone"
  100.     dial it
  101.     pop card
  102.   end if
  103. end mouseUp
  104.  
  105.  
  106.  
  107. -- part 29 (field)
  108. -- low flags: 00
  109. -- high flags: 0000
  110. -- rect: left=77 top=114 right=137 bottom=272
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 0 / 0
  113. -- text alignment: 0
  114. -- font id: 3
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: Phone
  119.  
  120.  
  121. -- part 20 (button)
  122. -- low flags: 00
  123. -- high flags: 0004
  124. -- rect: left=126 top=240 right=281 bottom=172
  125. -- title width / last selected line: 0
  126. -- icon id / first selected line: 15972 / 15972
  127. -- text alignment: 1
  128. -- font id: 0
  129. -- text size: 12
  130. -- style flags: 0
  131. -- line height: 16
  132. -- part name: Calendar
  133. ----- HyperTalk script -----
  134. on mouseUp
  135.   set lockScreen to true
  136.   go stack "Datebook"
  137.   goWeekly the seconds
  138.   set lockScreen to false
  139. end mouseUp
  140.  
  141.  
  142.  
  143. -- part 21 (button)
  144. -- low flags: 00
  145. -- high flags: 0000
  146. -- rect: left=148 top=200 right=225 bottom=175
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 1014 / 1014
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: Prev
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   visual effect wipe right
  158.   go to previous card of background "Card"
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 22 (button)
  164. -- low flags: 00
  165. -- high flags: 0000
  166. -- rect: left=176 top=200 right=225 bottom=203
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 1013 / 1013
  169. -- text alignment: 1
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: Next
  175. ----- HyperTalk script -----
  176. on mouseUp
  177.   visual effect wipe left
  178.   go to next card of background "Card"
  179. end mouseUp
  180.  
  181.  
  182.  
  183. -- part 30 (field)
  184. -- low flags: 00
  185. -- high flags: 0000
  186. -- rect: left=38 top=142 right=193 bottom=321
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 0 / 0
  189. -- text alignment: 0
  190. -- font id: 3
  191. -- text size: 10
  192. -- style flags: 0
  193. -- line height: 13
  194. -- part name: Work Info
  195.  
  196.  
  197. -- part 10 (field)
  198. -- low flags: 00
  199. -- high flags: 0000
  200. -- rect: left=355 top=83 right=188 bottom=482
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 0
  204. -- font id: 2
  205. -- text size: 10
  206. -- style flags: 0
  207. -- line height: 13
  208. -- part name: Notes
  209.  
  210.  
  211. -- part 26 (button)
  212. -- low flags: 00
  213. -- high flags: 0000
  214. -- rect: left=291 top=198 right=226 bottom=328
  215. -- title width / last selected line: 0
  216. -- icon id / first selected line: 1012 / 1012
  217. -- text alignment: 1
  218. -- font id: 0
  219. -- text size: 12
  220. -- style flags: 0
  221. -- line height: 16
  222. -- part name: Return
  223. ----- HyperTalk script -----
  224. on mouseUp
  225.   visual effect iris close
  226.   pop card
  227. end mouseUp
  228.  
  229.  
  230.  
  231. -- part 27 (button)
  232. -- low flags: 00
  233. -- high flags: 0004
  234. -- rect: left=229 top=241 right=282 bottom=275
  235. -- title width / last selected line: 0
  236. -- icon id / first selected line: 20186 / 20186
  237. -- text alignment: 1
  238. -- font id: 0
  239. -- text size: 12
  240. -- style flags: 0
  241. -- line height: 16
  242. -- part name: 
  243. ----- HyperTalk script -----
  244. on mouseUp
  245.   answer "Sort all cards of this stack according to:" with "First Name" or "Last Name" or "Cancel"
  246.   if it is "First Name"
  247.   then sort by first word of first line of field "Name"
  248. else if it is "Last Name"
  249. then sort by last word of first line of field "Name"
  250. end mouseUp
  251.  
  252.  
  253.  
  254. -- part 11 (field)
  255. -- low flags: 00
  256. -- high flags: 0000
  257. -- rect: left=354 top=248 right=328 bottom=484
  258. -- title width / last selected line: 0
  259. -- icon id / first selected line: 0 / 0
  260. -- text alignment: 0
  261. -- font id: 2
  262. -- text size: 10
  263. -- style flags: 0
  264. -- line height: 13
  265. -- part name: Important Dates
  266.  
  267.  
  268. -- part 31 (button)
  269. -- low flags: 00
  270. -- high flags: 0004
  271. -- rect: left=282 top=242 right=282 bottom=328
  272. -- title width / last selected line: 0
  273. -- icon id / first selected line: 1007 / 1007
  274. -- text alignment: 1
  275. -- font id: 0
  276. -- text size: 12
  277. -- style flags: 0
  278. -- line height: 16
  279. -- part name: New Button
  280. ----- HyperTalk script -----
  281. on mouseUp
  282.   push card
  283.   go to first card of background "Report"
  284. end mouseUp
  285.  
  286.